package com.appspot.yttv.client;



import com.appspot.yttv.client.model.Playlist;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * Provides a playlist on request.
 * 
 * @author Martin Landers
 */
public interface PlaylistProvider {

	/**
	 * Gets a playlist from the provider.
	 * 
	 * This may involve server communication, or similar, so the interface is
	 * asynchronous.
	 * 
	 * @param callback Callback to notify with the playlist.
	 */
	public void getPlaylist(AsyncCallback<Playlist> callback);
	
}
